const {pageUrl} = require('./axios')
module.exports = {
  // 获取token
  authorize(code){
      return pageUrl('user/wxapp/authorize','POST',{code})
  },
  // 修改用户信息并提交给后台
  SET(avatarUrl,city,nick,token,province,gender){
    return pageUrl('user/modify','POST',{avatarUrl,city,nick,token,province,gender})
},
}